package com.example.event;

import java.util.List;

import com.example.entity.DbBlockDto;

import org.springframework.context.ApplicationEvent;

/**
 * Copyright: Copyright (c) 2022
 *
 * <p>
 * Description:
 *
 * @author LiuFeng
 * @version 2022/12/5 15:19
 * @since
 */
public class OpcMessageEvent extends ApplicationEvent {

    private List<DbBlockDto> dto;


    public OpcMessageEvent(Object source, List<DbBlockDto> dbBlockDtos) {
        super(source);
        this.dto = dbBlockDtos;
    }

    public List<DbBlockDto> getDto() {
        return dto;
    }
}
